package com.dada.lib.deeplink;

import android.app.Activity;
import android.net.Uri;

/**
 * Created by cd5160866 on 07/03/2018.
 */

public class DeepLink {

    private static OnLinkListener linkListener;

    public static void initConfig(OnLinkListener linkListener) {
        DeepLink.linkListener = linkListener;
    }

    public static OnLinkListener getLinkListener() {
        return linkListener;
    }

    public interface OnLinkListener {
        void onLinkSuccess(Activity activity, Uri dataExtra);
    }

}
